package com.atguigu.gulimall.order.feign;

import com.atguigu.gulimall.order.vo.MemberAddressVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * @Package com.atguigu.gulimall.order.feign
 * @author wzb
 * @date 2022-09-01 9:56
 * @version V1.0
 * @Copyright ©
 */
@FeignClient("gulimall-member")
public interface MemberFeignService {


    @GetMapping("/member/memberreceiveaddress/{memberId}/addresses")
    List<MemberAddressVO> getAddress(@PathVariable Long memberId);



}
